type net/http.http2ClientConn
60 uses
net/http (current package)
h2_bundle.go#L746: GetClientConn(req *Request, addr string) (*http2ClientConn, error)
h2_bundle.go#L747: MarkDead(*http2ClientConn)
h2_bundle.go#L769: conns map[string][]*http2ClientConn // key is host:port
h2_bundle.go#L771: keys map[*http2ClientConn][]string
h2_bundle.go#L775: func (p *http2clientConnPool) GetClientConn(req *Request, addr string) (*http2ClientConn, error) {
h2_bundle.go#L784: func (p *http2clientConnPool) getClientConn(req *Request, addr string, dialOnMiss bool) (*http2ClientConn, error) {
h2_bundle.go#L840: res *http2ClientConn // valid after done is closed
h2_bundle.go#L935: func (p *http2clientConnPool) addConnLocked(key string, cc *http2ClientConn) {
h2_bundle.go#L942: p.conns = make(map[string][]*http2ClientConn)
h2_bundle.go#L945: p.keys = make(map[*http2ClientConn][]string)
h2_bundle.go#L951: func (p *http2clientConnPool) MarkDead(cc *http2ClientConn) {
h2_bundle.go#L985: func http2filterOutClientConn(in []*http2ClientConn, exclude *http2ClientConn) []*http2ClientConn {
h2_bundle.go#L1005: func (p http2noDialClientConnPool) GetClientConn(req *Request, addr string) (*http2ClientConn, error) {
h2_bundle.go#L7375: type http2ClientConn struct {
h2_bundle.go#L7436: cc *http2ClientConn
h2_bundle.go#L7745: func (t *http2Transport) dialClientConn(ctx context.Context, addr string, singleUse bool) (*http2ClientConn, error) {
h2_bundle.go#L7819: func (t *http2Transport) NewClientConn(c net.Conn) (*http2ClientConn, error) {
h2_bundle.go#L7823: func (t *http2Transport) newClientConn(c net.Conn, singleUse bool) (*http2ClientConn, error) {
h2_bundle.go#L7824: cc := &http2ClientConn{
h2_bundle.go#L7910: func (cc *http2ClientConn) healthCheck() {
h2_bundle.go#L7927: func (cc *http2ClientConn) SetDoNotReuse() {
h2_bundle.go#L7933: func (cc *http2ClientConn) setGoAway(f *http2GoAwayFrame) {
h2_bundle.go#L7960: func (cc *http2ClientConn) CanTakeNewRequest() bool {
h2_bundle.go#L7969: func (cc *http2ClientConn) ReserveNewRequest() bool {
h2_bundle.go#L8013: func (cc *http2ClientConn) State() http2ClientConnState {
h2_bundle.go#L8040: func (cc *http2ClientConn) idleState() http2clientConnIdleState {
h2_bundle.go#L8046: func (cc *http2ClientConn) idleStateLocked() (st http2clientConnIdleState) {
h2_bundle.go#L8068: func (cc *http2ClientConn) canTakeNewRequestLocked() bool {
h2_bundle.go#L8075: func (cc *http2ClientConn) tooIdleLocked() bool {
h2_bundle.go#L8089: func (cc *http2ClientConn) onIdleTimeout() {
h2_bundle.go#L8093: func (cc *http2ClientConn) closeConn() {
h2_bundle.go#L8101: func (cc *http2ClientConn) forceCloseConn() {
h2_bundle.go#L8111: func (cc *http2ClientConn) closeIfIdle() {
h2_bundle.go#L8128: func (cc *http2ClientConn) isDoNotReuseAndIdle() bool {
h2_bundle.go#L8137: func (cc *http2ClientConn) Shutdown(ctx context.Context) error {
h2_bundle.go#L8174: func (cc *http2ClientConn) sendGoAway() error {
h2_bundle.go#L8200: func (cc *http2ClientConn) closeForError(err error) {
h2_bundle.go#L8214: func (cc *http2ClientConn) Close() error {
h2_bundle.go#L8221: func (cc *http2ClientConn) closeForLostPing() {
h2_bundle.go#L8250: func (cc *http2ClientConn) responseHeaderTimeout() time.Duration {
h2_bundle.go#L8290: func (cc *http2ClientConn) decrStreamReservations() {
h2_bundle.go#L8296: func (cc *http2ClientConn) decrStreamReservationsLocked() {
h2_bundle.go#L8302: func (cc *http2ClientConn) RoundTrip(req *Request) (*Response, error) {
h2_bundle.go#L8686: func (cc *http2ClientConn) awaitOpenSlotForStreamLocked(cs *http2clientStream) error {
h2_bundle.go#L8708: func (cc *http2ClientConn) writeHeaders(streamID uint32, endStream bool, maxFrameSize int, hdrs []byte) error {
h2_bundle.go#L8945: func (cc *http2ClientConn) encodeHeaders(req *Request, addGzipHeader bool, trailers string, contentLength int64) ([]byte, error) {
h2_bundle.go#L9140: func (cc *http2ClientConn) encodeTrailers(trailer Header) ([]byte, error) {
h2_bundle.go#L9170: func (cc *http2ClientConn) writeHeader(name, value string) {
h2_bundle.go#L9184: func (cc *http2ClientConn) addStreamLocked(cs *http2clientStream) {
h2_bundle.go#L9196: func (cc *http2ClientConn) forgetStreamID(id uint32) {
h2_bundle.go#L9227: cc *http2ClientConn
h2_bundle.go#L9231: func (cc *http2ClientConn) readLoop() {
h2_bundle.go#L9304: func (cc *http2ClientConn) countReadFrameError(err error) {
h2_bundle.go#L10005: func (cc *http2ClientConn) Ping(ctx context.Context) error {
h2_bundle.go#L10080: func (cc *http2ClientConn) writeStreamReset(streamID uint32, code http2ErrCode, err error) {
h2_bundle.go#L10096: func (cc *http2ClientConn) logf(format string, args ...interface{}) {
h2_bundle.go#L10100: func (cc *http2ClientConn) vlogf(format string, args ...interface{}) {
h2_bundle.go#L10225: func http2traceGotConn(req *Request, cc *http2ClientConn, reused bool) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |